﻿namespace LiveLabs.Logging
{
    using System;
    using System.Collections.Generic;

    internal class TestLog : Log
    {
        internal class Entry
        {
            public string Message { get; set; }
            public LogLevel Level { get; set; }
        }

        internal List<Entry> Entries = new List<Entry>();

        public override void WriteLine(string message, LogLevel level)
        {
            Entries.Add(new Entry() { Message = message, Level = level });
        }
    }
}
